package org.stvd.common;

import java.util.HashMap;
import java.util.Map;

import org.stvd.core.util.DateUtil;

/**
 * 服务端常量类
 * @author houzx
 */
public class ServiceConsts {

    public static Integer PAGE_SIZE = 10;

    public static Map<String, Object> GLOBAL_MAP = new HashMap<String, Object>();

    public static String[] BASE_PAGE_FILTER_PATHS = {};

    public static String DATE_YMD = DateUtil.getSystemDateOfY2D();
    
    /**邮箱服务器地址：163是smtp.163.com；qq是smtp.exmail.qq.com*/
    public static final String emailHost = "smtp.163.com";
    
    /**邮件发送地址*/
    public static final String emailFrom = "ningtourong@163.com";
    
    /**邮件发送者邮箱登录名*/
    public static final String emailUsername = "ningtourong@163.com";
    
    /**邮箱密码*/
    public static final String emailPassword = "ntr123";
    
    /**
     * SM4-ECB 加密密钥
     */
    public static final  String SME4KEY = "JeF8U9wHFOMfs2Y8";
    
    /**文件上传文件夹*/
    public static String UPLOAD_FOLDER = "/upload/";
    
    /**文件下载文件夹*/
    public static String DOWNLOAD_FOLDER = "/download/";

    /**Linux文件路径*/
    //public static String LINUX_PATH = "/Users/houzx/home/data/";
    public static String LINUX_PATH = "/home/data/spms/";
    
    /**Window文件路径*/
    public static String WINDOW_PATH = "D:/data/spms/";
}
